//
//  Global.h
//  ez.Coupon
//
//  Created by Nam Le on 1/2/14.
//  Copyright (c) 2014 iOS Team. All rights reserved.
//

#import <Foundation/Foundation.h>

#define rgbValue 

//Nam Le - 1st Jan 2014
#define APP_NAME @"ez.Coupon"
#define _HEADER_COLOR 0xEB2C23
#define APP_BACKGROUND_COLOR 0xFFFFFF
#define APP_BACKGROUND_MENU_COLOR 0x323232
#define UIColorFromRGB(rgbValue) [UIColor \
colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]


extern bool gIsIPad;
extern NSString *URL_WS;

@interface Global : NSObject
{
    
}

+(void) alertMessage:(NSString*) _title message:(NSString*) _message;
+ (NSString*) viewOnDevice:(NSString*) iPadDevice : (NSString*) iPhoneDevice;
+ (NSString*) xmlEncode:(NSString*)_text;


@end
